package com.cz.video.website.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cz.video.common.core.domain.entity.SysRole;
import com.cz.video.website.domain.WebsiteBanner;
import com.cz.video.website.domain.vo.WebsiteBannerVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 首页banner表 Mapper 接口
 * </p>
 *
 * @author yr
 * @since 2023-10-15
 */
public interface WebsiteBannerMapper extends BaseMapper<WebsiteBanner> {
    Page<WebsiteBannerVo> selectPageBannerList(@Param("page") Page<WebsiteBanner> page,
                                               @Param(Constants.WRAPPER)Wrapper<WebsiteBanner> queryWrapper);
}
